Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@atlaskit/button
Advanced tools
A button triggers an event or action. They let users know what will happen next.
@atlaskit/button is a React component library for creating buttons with various styles and functionalities. It is part of Atlassian's design system and provides a consistent look and feel for buttons across applications.
Basic Button
This code sample demonstrates how to create a basic primary button using the @atlaskit/button package.
<Button appearance="primary">Primary Button</Button>
Button with Icon
This code sample shows how to create a button that includes an icon before the text.
<Button iconBefore={<SomeIcon />}>Button with Icon</Button>
Loading Button
This code sample demonstrates how to create a button that shows a loading spinner.
<Button isLoading>Loading Button</Button>
Disabled Button
This code sample shows how to create a button that is disabled and not interactive.
<Button isDisabled>Disabled Button</Button>
Custom Button Styles
This code sample demonstrates how to apply custom styles to a button.
<Button style={{ backgroundColor: 'red', color: 'white' }}>Custom Styled Button</Button>
React-Bootstrap provides a set of React components that implement the Bootstrap framework. It offers a wide range of button styles and functionalities similar to @atlaskit/button, but with the look and feel of Bootstrap.
Material-UI is a popular React component library that implements Google's Material Design. It offers a variety of button components with extensive customization options, similar to @atlaskit/button, but follows Material Design guidelines.
Ant Design (antd) is a comprehensive UI framework for React that provides a wide range of components, including buttons. It offers similar functionalities to @atlaskit/button but with a different design language and additional features.
A button triggers an event or action. They let users know what will happen next.
yarn add @atlaskit/button
Detailed docs and example usage can be found here.
FAQs
A button triggers an event or action. They let users know what will happen next.
The npm package @atlaskit/button receives a total of 86,631 weekly downloads. As such, @atlaskit/button popularity was classified as popular.
We found that @atlaskit/button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.